package cn.com.thingo.hyintelligent.model.bean;

import java.util.List;

public class EzDeviceAuthorizationListBean {


    /**
     * id : 9
     * tel : 18086107392
     * to_tel : 18086107392
     * token_id : 2
     * add_time : 1561518396
     * sn : {"Permission":"Get,DevCtrl","Resource":["dev:C50476233"]}
     * author : Get,DevCtrl
     * dev_sn : C50476233
     */

    private String id;
    private String tel;
    private String to_tel;
    private String token_id;
    private String add_time;
    private SnBean sn;
    private String author;
    private String dev_sn;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTo_tel() {
        return to_tel;
    }

    public void setTo_tel(String to_tel) {
        this.to_tel = to_tel;
    }

    public String getToken_id() {
        return token_id;
    }

    public void setToken_id(String token_id) {
        this.token_id = token_id;
    }

    public String getAdd_time() {
        return add_time;
    }

    public void setAdd_time(String add_time) {
        this.add_time = add_time;
    }

    public SnBean getSn() {
        return sn;
    }

    public void setSn(SnBean sn) {
        this.sn = sn;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getDev_sn() {
        return dev_sn;
    }

    public void setDev_sn(String dev_sn) {
        this.dev_sn = dev_sn;
    }

    public static class SnBean {
        /**
         * Permission : Get,DevCtrl
         * Resource : ["dev:C50476233"]
         */

        private String Permission;
        private List<String> Resource;

        public String getPermission() {
            return Permission;
        }

        public void setPermission(String Permission) {
            this.Permission = Permission;
        }

        public List<String> getResource() {
            return Resource;
        }

        public void setResource(List<String> Resource) {
            this.Resource = Resource;
        }
    }
}
